package com.qf.flashlib.adapter;

/**
 * 2019/7/9 12:05
 */
public abstract class BaseRViewItem<T> implements RViewItem<T> {

    @Override
    public int getSpanSize() {
        return 1;
    }


    @Override
    public boolean isOpenClick() {
        return true;
    }

    /**
     *  多布局时需自行判定
     */
    @Override
    public boolean isItemView(T entity, int position) {
        return true;
    }

    @Override
    public void onViewAttachToWindow(RViewHolder holder) {
    }

    @Override
    public void onViewDetachedFromWindow(RViewHolder holder) {
    }
}
